﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Lib.Paging;
using SDT.Model;
namespace SDT.Admin.ViewModels
{
    public class BannerIndexViewModel
    {
        public IPagedList<Banner> Banners;
        //public Dictionary<object, object> HotStatus = new Dictionary<object, object>();
        public Dictionary<object, object> PubStatus = new Dictionary<object, object>();
        public int CurrentHotStatus;
        public int CurrentPubStatus;
        public string Keyword;
        public string ImageRootUrl;
    }
    public class BannerEditViewModel
    {
        public Banner Banner { get; set; }
        public List<Menu> Menus { get; set; }
        public List<Position> Positions { get; set; }
        public string ImageRootUrl { get; set; }
        public string FlashRootUrl { get; set; }
        public Dictionary<object, object> LanguageCode = new Dictionary<object, object>();
        public Menu currentMenus;
        public Position currentPosition;
        public string CurrentLanguageCode;
    }
}
